<div class="hr-calendar">
  <div class="calendar-month row">
    <div class="col-10" ng-click="updateClendar(-1)">
      <i class="icon ion-ios-arrow-left" ></i>
    </div>
    <div class="col-80">{{calendarJson.dateArray[15].solarYear}}年 {{month[calendarJson.dateArray[15].solarMonth-1]}}</div>
    <div class="col-10" ng-click="updateClendar(1)">
      <i class="icon ion-ios-arrow-right" ></i>
    </div>
  </div>
  <table class='calendar-table'>
    <thead>
    <tr>
      <td style="line-height:40px;" ng-repeat='week in weeks' ng-class="{'calendar-weekend': $index==0||$index==6}">
        {{week}}
      </td>
    </tr>
    </thead>
    <tbody>
    <tr ng-repeat='line in range(0,calendarJson.lines-1)'>
      <td ng-repeat='date in range($index*7,$index*7+6)'>
        <div class ="calendar-day" ng-class="{'selected':chooseDay==calendarJson.dateArray[date].solarDate}" ng-click='changeDay(calendarJson.dateArray[date])'>
            {{isToday(calendarJson.dateArray[date],today) ? '今':calendarJson.dateArray[date].solarDate}}
        </div>
        <div ng-if="calendarJson.dateArray[date].solarDate && filterTask(calendarJson.dateArray[date])" class = "point"></div>
      </td>
    </tr>
    </tbody>
  </table>
</div>
